Q How do I determine the correct time values to pass to GetMoviePict
to get all
the sequential frames of a QuickTime movie?
A The best way to determine the correct time to pass to get movie frames is to
call the GetMovieNextInterestingTime
routine repeatedly. Note that the first
time you call GetMovieNextInterestingTime
, its flags
parameter should have a
value of nextTimeMediaSample
+nextTimeEdgeOK
to get the first frame.
For subsequent calls, the value of flags
should be nextTimeMediaSample
, and
the whichMediaTypes
parameter should include only tracks with visual
information, VisualMediaCharacteristic
, or "eyes." Check the Movie Toolbox
chapter of the QuickTime documentation for details about the
GetMovieNextInterestingTime
call.